﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<fieldset>
<legend></legend>
<%using (Ajax.BeginForm("GetBigTable",
           new AjaxOptions
           {
               UpdateTargetId = "bigtable",
           }))
  { %>

            <input type="hidden" name="spec" value="<%=ViewData["Id"] %>" />
            <input type="hidden" name="d" value="<%=DateTime.Now %>" />

    <% foreach (ElectronicRecords.Models.Procedurs p in ViewData["Proc"] as List<ElectronicRecords.Models.Procedurs>)
       { %>
  
            <%=Html.RadioButton("proc", p.ID_Procedure)%>&nbsp<label><%=p.Name%>
            </label><br />

    <%} %>
    <br />
    <br />
           &nbsp;&nbsp;&nbsp;&nbsp; <input type="submit" class ="g-button" value="Вывести карту записи к специалисту" />

<%} %>

</fieldset>

<div id="bigtable"></div>